<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@include file="/pageRc/common/common.jsp"%>
<!DOCTYPE html>
<html lang="en">
<!-- saved from url=(0057)http://www.layui.com/admin/std/dist/views/user/login.html -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>登入 - 联信科技软件部服务平台后台</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="../../pageRc/css/manlogin/layui.css"
	media="all">
<link rel="stylesheet" href="../../pageRc/css/manlogin/admin.css"
	media="all">
<link rel="stylesheet" href="../../pageRc/css/manlogin/login.css"
	media="all">
<link id="layuicss-layer" rel="stylesheet"
	href="../../pageRc/css/manlogin/layer.css" media="all">
</head>
<body layadmin-themealias="default">

	<div class="layadmin-user-login layadmin-user-display-show"
		id="LAY-user-login" style="display: none;">

		<div class="layadmin-user-login-main">
			<div class="layadmin-user-login-box layadmin-user-login-header">
				<h2>联信科技软件部服务平台管理登录</h2>
			</div>
			<div
				class="layadmin-user-login-box layadmin-user-login-body layui-form">
				<div class="layui-form-item">
					<label
						class="layadmin-user-login-icon layui-icon layui-icon-username"
						for="LAY-user-login-username"></label> <input type="text"
						name="username" id="LAY-user-login-username" lay-verify="required"
						placeholder="手机号码" class="layui-input">
				</div>
				<div class="layui-form-item">
					<label
						class="layadmin-user-login-icon layui-icon layui-icon-password"
						for="LAY-user-login-password"></label> <input type="password"
						name="password" id="LAY-user-login-password" lay-verify="required"
						placeholder="密码" class="layui-input">
				</div>
				<div class="layui-form-item">
					<button class="layui-btn layui-btn-fluid" lay-submit=""
						lay-filter="LAY-user-login-submit" onclick="adminLogin()">登 入</button>
				</div>
			</div>
		</div>



		<!--<div class="ladmin-user-login-theme">
      <script type="text/html" template>
        <ul>
          <li data-theme=""><img src="{{ layui.setter.base }}style/res/bg-none.jpg"></li>
          <li data-theme="#03152A" style="background-color: #03152A;"></li>
          <li data-theme="#2E241B" style="background-color: #2E241B;"></li>
          <li data-theme="#50314F" style="background-color: #50314F;"></li>
          <li data-theme="#344058" style="background-color: #344058;"></li>
          <li data-theme="#20222A" style="background-color: #20222A;"></li>
        </ul>
      </script>
    </div>-->

	</div>
	<script type="text/javascript"
		src="../../pageRc/js/jquery-1.9.1.min.js"></script>
	<script src="../../pageRc/css/manlogin/layui.js"></script>

	<script type="text/javascript">
		function adminLogin() {
			var phoneNo = $("#LAY-user-login-username").val();
			var password = $("#LAY-user-login-password").val();
			$.ajax({
				url : "<%=commonPath%>/page/sys/adminLogin.do",
				data : {"phoneNo":phoneNo,"password":password},
				type : "post",
				dataType : "json",
				success : function(data) {
					if(data.head.retMsg == "success"){
						window.location.href = window.location.href;
					}else{
						alert(data.head.retMsg);
					}
				}
			})
		}
	</script>
	<style id="LAY_layadmin_theme">
.layui-side-menu, .layadmin-pagetabs .layui-tab-title li:after,
	.layadmin-pagetabs .layui-tab-title li.layui-this:after,
	.layui-layer-admin .layui-layer-title, .layadmin-side-shrink .layui-side-menu .layui-nav>.layui-nav-item>.layui-nav-child
	{
	background-color: #20222A !important;
}

.layui-nav-tree .layui-this, .layui-nav-tree .layui-this>a,
	.layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a
	{
	background-color: #009688 !important;
}

.layui-layout-admin .layui-logo {
	background-color: #20222A !important;
}
</style>
	<div class="layui-layer-move"></div>
</body>
</html>